﻿using System.Data.Entity.ModelConfiguration;
using Budjelar.Model.Entities;

namespace Budjelar.Repository.EF.Configuration
{
    public class ProdavnicaConfiguration : EntityTypeConfiguration<Prodavnica>
    {
        public ProdavnicaConfiguration()
        {
            ToTable("Prodavnice");
            Property(x => x.Naziv).IsRequired().HasMaxLength(50);
        }
    }
}